

package com.liushuai.eas.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liushuai.eas.pojo.Exam;
import com.liushuai.eas.pojo.Notify;

import java.util.List;
import java.util.Map;

public interface ExamMapper extends BaseMapper<Exam> {

    //查询老师对应班级及课程
    List<Map<String,String>> queryClassCourseByTeacherId(int teacherId,String year);

    //查询班级对应班级成绩
    List<Map<String,Object>> queryExamByClassId(int classId);

    //查询学生个人成绩
    List<Map<String,Object>> queryExamByStudent(int studentId);

    //根据id查询
    Exam queryExamById(int id);

}
